package org.jimmy.tang.designpattern.behavior.command;

/**
 * @author jimmy
 * 
 */
public class CommandImpl extends Command {
    public CommandImpl(Receiver receiver) {
        super(receiver);
    }

    /* (non-Javadoc)
     * @see org.jimmy.tang.designpattern.behavior.command.Command#execute()
     */
    @Override
    public void execute() {
        receiver.receive();

    }

}
